<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<style>
  
</style>
<body>
    <button class="btn" ><a href="https://ys-api.mihoyo.com/event/download_porter/link/ys_cn/official/pc_default">6666</a></button>    
    <script>
         var btn = document.querySelectorAll('btn');
        
    </script>
</body>
</html>